package com.xinqi.modules.prepare.courseware.dto.req;

import com.xinqi.common.base.response.Param;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 备课区互动课件切片-移动试题对象
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "备课区互动课件切片-移动试题对象")
public class PrepareCoursewarePartMoveQuestionDTO extends Param {
    @Schema(description = "备课区id", example = "100001", hidden = true)
    @NotNull(message = "备课区id不能为空")
    private Long prepareId;

    @Schema(description = "互动课件id", example = "100001")
    @NotNull(message = "互动课件id不能为空")
    private Long coursewareId;

    @Schema(description = "源-互动课件切片id", example = "100002")
    @NotNull(message = "源-互动课件切片id不能为空")
    private Long sourcePartId;

    @Schema(description = "目标-互动课件切片id", example = "100003")
    @NotNull(message = "目标-互动课件切片id不能为空")
    private Long targetPartId;

    @Schema(description = "切片题目序号列表", example = "")
    @NotEmpty(message = "切片题目序号列表不能为空")
    private List<Integer> questionIndexList;
}
